package com.my.main.common;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

@Component
public class EnvironmentConfigure {

	@Autowired
	private static Environment env;

	public static String getConfig(String key) {
		return env.getProperty(key);
	}

}